#include <stdio.h>

int main(){

    // 结构体类型的定义和结构体变量的赋值

    struct Student{
    int id;
    int age;
    char *name;
    char *gender;
    char *address;

    };
    struct Student stu;

    stu.id = 1001;
    stu.age = 21;
    stu.name = "Kim";
    stu.gender = "man";
    stu.address = "NJUPT";

    struct Student stu_2 = {1002, 22, "Jenny", "female", "NJUPT"};

    printf("%s\n", stu_2.name);

    return 0;
}